#ifndef CAR_STRUCT_CSV
#define CAR_STRUCT_CSV

#include "car_struct.hpp"
#include "datetime_period.hpp"


class car_struct_csv: public car_struct
{
   private: 

        static const enum csv_field_tags
	{
	  ID =0,
	  PLATE,
	  POWER,
	  FUEL,
	  TANK,
	  OWNERSHIP
	} csv_field;

public:      
	car_struct_csv(): car_struct() {};

	car_struct_csv(std::vector<std::string> const& v);	
		
	float fuel_refund(boost::gregorian::date& _first_date, boost::gregorian::date& _last_date, bool _include_last_date = true);
	
};

#endif
